<project name="Sharepoint Dynamic Quicklaunch" basedir="." default="main">
	<taskdef name="jscomp" 
		classname="com.google.javascript.jscomp.ant.CompileTask" classpath="lib/compiler.jar">
    </taskdef>
	<taskdef name="jsmin"
	        classname="net.matthaynes.jsmin.JSMin_Task"
	        classpath="lib/jsmin.jar"/>
    
	<property name="build.dir"  value="bin"/>
	<property name="source.file"  value="jquery.dynamic_quicklaunch.js"/>
	<property name="build.file"  value="jquery.dynamic_quicklaunch.min.js"/>
	
	<target name="cleanBuild">
        <delete file="${build.dir}/${build.file}"/>
    </target>


	
	<target name="main" depends="cleanBuild">

		<jscomp compilationLevel="simple" warning="quiet" 
		            debug="false" output="${build.dir}/${build.file}">
			<sources dir="src">
		        <file name="${source.file}"/>
	      	</sources>
			
		</jscomp>
   	</target>
 </project>

    
   